<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.4"/>
<title>gbmath: gbmath::Rect Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.jpg"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">gbmath
   &#160;<span id="projectnumber">v0.051</span>
   </div>
   <div id="projectbrief">c++ math library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.4 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacegbmath.html">gbmath</a></li><li class="navelem"><a class="el" href="classgbmath_1_1_rect.html">Rect</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="classgbmath_1_1_rect-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">gbmath::Rect Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><a class="el" href="structgbmath_1_1_rectangle.html" title="integer values rectangle ">Rectangle</a> on the minimum and maximum coordinate.  
 <a href="classgbmath_1_1_rect.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="rect_8h_source.html">rect.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1_rect_1_1_corners.html">Corners</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">The corners of the rectangle.  <a href="structgbmath_1_1_rect_1_1_corners.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a1269777b65932486e920dbc00e273db6"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_rect.html#a1269777b65932486e920dbc00e273db6">Rect</a> ()</td></tr>
<tr class="separator:a1269777b65932486e920dbc00e273db6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a91002bcc3f00aecd347fb0a5a66ed32b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_rect.html#a91002bcc3f00aecd347fb0a5a66ed32b">Rect</a> (const <a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;amin, const <a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;amax)</td></tr>
<tr class="separator:a91002bcc3f00aecd347fb0a5a66ed32b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af8c4e5411b4f44d8b58f67cfb093bdbb"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_rect.html#af8c4e5411b4f44d8b58f67cfb093bdbb">Rect</a> (const <a class="el" href="classgbmath_1_1_rect.html">Rect</a> &amp;r)</td></tr>
<tr class="separator:af8c4e5411b4f44d8b58f67cfb093bdbb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3260d528f83310b9d7df8e1f87004022"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_rect.html#a3260d528f83310b9d7df8e1f87004022">Rect</a> (float _x1, float _y1, float _x2, float _y2)</td></tr>
<tr class="separator:a3260d528f83310b9d7df8e1f87004022"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad2596a4daae7152ab9962bfc8dd7558f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_rect.html#ad2596a4daae7152ab9962bfc8dd7558f">Rect</a> (const <a class="el" href="structgbmath_1_1_rectangle.html">Rectangle</a> &amp;rec)</td></tr>
<tr class="separator:ad2596a4daae7152ab9962bfc8dd7558f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abfd689e482e12c9f5192ae38eea8c845"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_rect.html#abfd689e482e12c9f5192ae38eea8c845">set</a> (float _x1, float _y1, float _x2, float _y2)</td></tr>
<tr class="separator:abfd689e482e12c9f5192ae38eea8c845"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9641777ad72513f23d6728accfbab236"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_rect.html#a9641777ad72513f23d6728accfbab236">operator=</a> (const <a class="el" href="structgbmath_1_1_rectangle.html">Rectangle</a> &amp;rec)</td></tr>
<tr class="separator:a9641777ad72513f23d6728accfbab236"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9c99fe5047330a0d83495ec7f67e7d89"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_rect.html#a9c99fe5047330a0d83495ec7f67e7d89">operator Rectangle</a> () const </td></tr>
<tr class="separator:a9c99fe5047330a0d83495ec7f67e7d89"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaaa2ed57a76e7caa3b97616f7f797608"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_rect.html#aaaa2ed57a76e7caa3b97616f7f797608">setzero</a> ()</td></tr>
<tr class="memdesc:aaaa2ed57a76e7caa3b97616f7f797608"><td class="mdescLeft">&#160;</td><td class="mdescRight">set to zero all  <a href="#aaaa2ed57a76e7caa3b97616f7f797608">More...</a><br/></td></tr>
<tr class="separator:aaaa2ed57a76e7caa3b97616f7f797608"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac5919d4c492020fbd8216a39fa04e112"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_rect.html#ac5919d4c492020fbd8216a39fa04e112">is_zero</a> () const </td></tr>
<tr class="memdesc:ac5919d4c492020fbd8216a39fa04e112"><td class="mdescLeft">&#160;</td><td class="mdescRight">check of all components to zero  <a href="#ac5919d4c492020fbd8216a39fa04e112">More...</a><br/></td></tr>
<tr class="separator:ac5919d4c492020fbd8216a39fa04e112"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aad0247c5ca850f2c277ad4041daeb672"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_rect.html#aad0247c5ca850f2c277ad4041daeb672">translate</a> (float x, float y)</td></tr>
<tr class="memdesc:aad0247c5ca850f2c277ad4041daeb672"><td class="mdescLeft">&#160;</td><td class="mdescRight">The shift of origin. The motion of the rectangle.  <a href="#aad0247c5ca850f2c277ad4041daeb672">More...</a><br/></td></tr>
<tr class="separator:aad0247c5ca850f2c277ad4041daeb672"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a73e11d9ad6222a69bfb56f774f3cf29a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_rect.html#a73e11d9ad6222a69bfb56f774f3cf29a">translate</a> (const <a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;val)</td></tr>
<tr class="memdesc:a73e11d9ad6222a69bfb56f774f3cf29a"><td class="mdescLeft">&#160;</td><td class="mdescRight">The shift of origin. The motion of the rectangle.  <a href="#a73e11d9ad6222a69bfb56f774f3cf29a">More...</a><br/></td></tr>
<tr class="separator:a73e11d9ad6222a69bfb56f774f3cf29a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b6c821375b118050869c89086766b19"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_rect.html#a7b6c821375b118050869c89086766b19">get_width</a> () const </td></tr>
<tr class="memdesc:a7b6c821375b118050869c89086766b19"><td class="mdescLeft">&#160;</td><td class="mdescRight">Getting the width of the rectangle.  <a href="#a7b6c821375b118050869c89086766b19">More...</a><br/></td></tr>
<tr class="separator:a7b6c821375b118050869c89086766b19"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a24eb91009bf4f45297103a25dc57e3fd"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_rect.html#a24eb91009bf4f45297103a25dc57e3fd">get_height</a> () const </td></tr>
<tr class="memdesc:a24eb91009bf4f45297103a25dc57e3fd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Getting the height of the rectangle.  <a href="#a24eb91009bf4f45297103a25dc57e3fd">More...</a><br/></td></tr>
<tr class="separator:a24eb91009bf4f45297103a25dc57e3fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e7c65d6507e65898f2b74027ac37242"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1size2d.html">size2d</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_rect.html#a7e7c65d6507e65898f2b74027ac37242">get_size</a> () const </td></tr>
<tr class="memdesc:a7e7c65d6507e65898f2b74027ac37242"><td class="mdescLeft">&#160;</td><td class="mdescRight">get rectangle 2d size  <a href="#a7e7c65d6507e65898f2b74027ac37242">More...</a><br/></td></tr>
<tr class="separator:a7e7c65d6507e65898f2b74027ac37242"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a50a5ed016ead52641c7a5d5219f21bc2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_rect.html#a50a5ed016ead52641c7a5d5219f21bc2">extract_corners</a> (<a class="el" href="structgbmath_1_1_rect_1_1_corners.html">Corners</a> &amp;_outCorners) const </td></tr>
<tr class="memdesc:a50a5ed016ead52641c7a5d5219f21bc2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Extract all the four vertices of the rectangle.  <a href="#a50a5ed016ead52641c7a5d5219f21bc2">More...</a><br/></td></tr>
<tr class="separator:a50a5ed016ead52641c7a5d5219f21bc2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8067959f2246c5eaf5b39913e4aa2415"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_rect.html#a8067959f2246c5eaf5b39913e4aa2415">set_position_topleft</a> (float x, float y)</td></tr>
<tr class="memdesc:a8067959f2246c5eaf5b39913e4aa2415"><td class="mdescLeft">&#160;</td><td class="mdescRight">Put a new position on the top left corner of the rectangle. Dimensions remain unchanged.  <a href="#a8067959f2246c5eaf5b39913e4aa2415">More...</a><br/></td></tr>
<tr class="separator:a8067959f2246c5eaf5b39913e4aa2415"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aabe5380ad2d7ae6d8dfcb19a9c1822ac"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_rect.html#aabe5380ad2d7ae6d8dfcb19a9c1822ac">set_position_topleft</a> (const <a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;v)</td></tr>
<tr class="separator:aabe5380ad2d7ae6d8dfcb19a9c1822ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a76791a7ee5804562474df5d26326599f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1point.html">point</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_rect.html#a76791a7ee5804562474df5d26326599f">get_position_topleft</a> () const </td></tr>
<tr class="memdesc:a76791a7ee5804562474df5d26326599f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the point coordinate of the upper-left corner of the rectangle.  <a href="#a76791a7ee5804562474df5d26326599f">More...</a><br/></td></tr>
<tr class="separator:a76791a7ee5804562474df5d26326599f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a41254ee02af17f49385bab0158c6fa6f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_rect.html#a41254ee02af17f49385bab0158c6fa6f">set_width</a> (float fWidth)</td></tr>
<tr class="separator:a41254ee02af17f49385bab0158c6fa6f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1932383e3c13c477e2511b8dfa94431d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_rect.html#a1932383e3c13c477e2511b8dfa94431d">set_height</a> (float fHeight)</td></tr>
<tr class="separator:a1932383e3c13c477e2511b8dfa94431d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1f6107ca474aa8bebde80c3f883867e0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_rect.html#a1f6107ca474aa8bebde80c3f883867e0">set_width_height</a> (float fWidth, float fHeight)</td></tr>
<tr class="separator:a1f6107ca474aa8bebde80c3f883867e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af8d6f87a9ba745a232c8ffb92d537e67"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1point.html">point</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_rect.html#af8d6f87a9ba745a232c8ffb92d537e67">get_topleft</a> () const </td></tr>
<tr class="separator:af8d6f87a9ba745a232c8ffb92d537e67"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a68d34337fac8a0887db316995aa6eba2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1point.html">point</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_rect.html#a68d34337fac8a0887db316995aa6eba2">get_bottomright</a> () const </td></tr>
<tr class="separator:a68d34337fac8a0887db316995aa6eba2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aac87f2883e9501359bf3764cf1c9bda7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1vec2.html">vec2</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_rect.html#aac87f2883e9501359bf3764cf1c9bda7">get_center</a> () const </td></tr>
<tr class="separator:aac87f2883e9501359bf3764cf1c9bda7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a23ccfaabe72a06c47211b06be21abf"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_rect.html#a6a23ccfaabe72a06c47211b06be21abf">set_center</a> (const <a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;pnt)</td></tr>
<tr class="separator:a6a23ccfaabe72a06c47211b06be21abf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a292b768aaaeb6eea1e7d39b0a649de39"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_rect.html#a292b768aaaeb6eea1e7d39b0a649de39">clump_coord</a> (<a class="el" href="structgbmath_1_1point.html">point</a> &amp;pntTobeClump) const </td></tr>
<tr class="memdesc:a292b768aaaeb6eea1e7d39b0a649de39"><td class="mdescLeft">&#160;</td><td class="mdescRight">Отсечение координат точки p в пределах прямоугольника  <a href="#a292b768aaaeb6eea1e7d39b0a649de39">More...</a><br/></td></tr>
<tr class="separator:a292b768aaaeb6eea1e7d39b0a649de39"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af9f7133dab6f3f25dd063df81cd1b0c7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_rect.html#af9f7133dab6f3f25dd063df81cd1b0c7">clump_coord</a> (<a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;pntTobeClump) const </td></tr>
<tr class="memdesc:af9f7133dab6f3f25dd063df81cd1b0c7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clipping coordinate point p within the rectangle.  <a href="#af9f7133dab6f3f25dd063df81cd1b0c7">More...</a><br/></td></tr>
<tr class="separator:af9f7133dab6f3f25dd063df81cd1b0c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad7186bb1232a585962060a14dd54158c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_rect.html#ad7186bb1232a585962060a14dd54158c">check_contain_point</a> (int x, int y) const </td></tr>
<tr class="separator:ad7186bb1232a585962060a14dd54158c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae2078e1b65dea03a4171e96cc00c8f76"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_rect.html#ae2078e1b65dea03a4171e96cc00c8f76">check_contain_point</a> (const <a class="el" href="structgbmath_1_1point.html">point</a> &amp;pnt) const </td></tr>
<tr class="separator:ae2078e1b65dea03a4171e96cc00c8f76"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaba7c54b09a3b4fd8091d253f3b4ddd7"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_rect.html#aaba7c54b09a3b4fd8091d253f3b4ddd7">compute_square</a> ()</td></tr>
<tr class="memdesc:aaba7c54b09a3b4fd8091d253f3b4ddd7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calculate the area.  <a href="#aaba7c54b09a3b4fd8091d253f3b4ddd7">More...</a><br/></td></tr>
<tr class="separator:aaba7c54b09a3b4fd8091d253f3b4ddd7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af287e19beb5fccbaa19530e1ab569edb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_rect.html#af287e19beb5fccbaa19530e1ab569edb">operator=</a> (const std::string &amp;str)</td></tr>
<tr class="separator:af287e19beb5fccbaa19530e1ab569edb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a44992577907a2fe5cac2b72491a7483b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_rect.html#a44992577907a2fe5cac2b72491a7483b">operator std::string</a> () const </td></tr>
<tr class="separator:a44992577907a2fe5cac2b72491a7483b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a89b0768bb1e96142c3e8b23ef341a864"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_rect.html#a89b0768bb1e96142c3e8b23ef341a864">offset</a> (float x, float y)</td></tr>
<tr class="separator:a89b0768bb1e96142c3e8b23ef341a864"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:ad38e91fafd641688846d5c70a923e6d2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1vec2.html">vec2</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_rect.html#ad38e91fafd641688846d5c70a923e6d2">min</a></td></tr>
<tr class="separator:ad38e91fafd641688846d5c70a923e6d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad77ebf0b2d9748f14d3aa249a5c24995"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1vec2.html">vec2</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_rect.html#ad77ebf0b2d9748f14d3aa249a5c24995">max</a></td></tr>
<tr class="separator:ad77ebf0b2d9748f14d3aa249a5c24995"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:af06df3bb3821aa5f4f7a43a63a0a9d3c"><td class="memItemLeft" align="right" valign="top">std::ostream &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_rect.html#af06df3bb3821aa5f4f7a43a63a0a9d3c">operator&lt;&lt;</a> (std::ostream &amp;stream, const <a class="el" href="classgbmath_1_1_rect.html">Rect</a> &amp;r)</td></tr>
<tr class="separator:af06df3bb3821aa5f4f7a43a63a0a9d3c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p><a class="el" href="structgbmath_1_1_rectangle.html" title="integer values rectangle ">Rectangle</a> on the minimum and maximum coordinate. </p>

<p>Definition at line <a class="el" href="rect_8h_source.html#l00019">19</a> of file <a class="el" href="rect_8h_source.html">rect.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a1269777b65932486e920dbc00e273db6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">gbmath::Rect::Rect </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="rect_8h_source.html#l00033">33</a> of file <a class="el" href="rect_8h_source.html">rect.h</a>.</p>

</div>
</div>
<a class="anchor" id="a91002bcc3f00aecd347fb0a5a66ed32b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">gbmath::Rect::Rect </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;&#160;</td>
          <td class="paramname"><em>amin</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;&#160;</td>
          <td class="paramname"><em>amax</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="rect_8h_source.html#l00038">38</a> of file <a class="el" href="rect_8h_source.html">rect.h</a>.</p>

</div>
</div>
<a class="anchor" id="af8c4e5411b4f44d8b58f67cfb093bdbb"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">gbmath::Rect::Rect </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classgbmath_1_1_rect.html">Rect</a> &amp;&#160;</td>
          <td class="paramname"><em>r</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="rect_8h_source.html#l00044">44</a> of file <a class="el" href="rect_8h_source.html">rect.h</a>.</p>

</div>
</div>
<a class="anchor" id="a3260d528f83310b9d7df8e1f87004022"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">gbmath::Rect::Rect </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>_x1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>_y1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>_x2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>_y2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="rect_8h_source.html#l00050">50</a> of file <a class="el" href="rect_8h_source.html">rect.h</a>.</p>

</div>
</div>
<a class="anchor" id="ad2596a4daae7152ab9962bfc8dd7558f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">gbmath::Rect::Rect </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1_rectangle.html">Rectangle</a> &amp;&#160;</td>
          <td class="paramname"><em>rec</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="rect_8h_source.html#l00071">71</a> of file <a class="el" href="rect_8h_source.html">rect.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="ad7186bb1232a585962060a14dd54158c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool gbmath::Rect::check_contain_point </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="rect_8h_source.html#l00321">321</a> of file <a class="el" href="rect_8h_source.html">rect.h</a>.</p>

</div>
</div>
<a class="anchor" id="ae2078e1b65dea03a4171e96cc00c8f76"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool gbmath::Rect::check_contain_point </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1point.html">point</a> &amp;&#160;</td>
          <td class="paramname"><em>pnt</em>)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="rect_8h_source.html#l00328">328</a> of file <a class="el" href="rect_8h_source.html">rect.h</a>.</p>

</div>
</div>
<a class="anchor" id="a292b768aaaeb6eea1e7d39b0a649de39"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gbmath::Rect::clump_coord </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structgbmath_1_1point.html">point</a> &amp;&#160;</td>
          <td class="paramname"><em>pntTobeClump</em>)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Отсечение координат точки p в пределах прямоугольника </p>

<p>Definition at line <a class="el" href="rect_8h_source.html#l00301">301</a> of file <a class="el" href="rect_8h_source.html">rect.h</a>.</p>

</div>
</div>
<a class="anchor" id="af9f7133dab6f3f25dd063df81cd1b0c7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gbmath::Rect::clump_coord </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;&#160;</td>
          <td class="paramname"><em>pntTobeClump</em>)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Clipping coordinate point p within the rectangle. </p>

<p>Definition at line <a class="el" href="rect_8h_source.html#l00312">312</a> of file <a class="el" href="rect_8h_source.html">rect.h</a>.</p>

</div>
</div>
<a class="anchor" id="aaba7c54b09a3b4fd8091d253f3b4ddd7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float gbmath::Rect::compute_square </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Calculate the area. </p>

<p>Definition at line <a class="el" href="rect_8h_source.html#l00346">346</a> of file <a class="el" href="rect_8h_source.html">rect.h</a>.</p>

</div>
</div>
<a class="anchor" id="a50a5ed016ead52641c7a5d5219f21bc2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gbmath::Rect::extract_corners </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structgbmath_1_1_rect_1_1_corners.html">Corners</a> &amp;&#160;</td>
          <td class="paramname"><em>_outCorners</em>)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Extract all the four vertices of the rectangle. </p>

<p>Definition at line <a class="el" href="rect_8h_source.html#l00192">192</a> of file <a class="el" href="rect_8h_source.html">rect.h</a>.</p>

</div>
</div>
<a class="anchor" id="a68d34337fac8a0887db316995aa6eba2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1point.html">point</a> gbmath::Rect::get_bottomright </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="rect_8h_source.html#l00270">270</a> of file <a class="el" href="rect_8h_source.html">rect.h</a>.</p>

</div>
</div>
<a class="anchor" id="aac87f2883e9501359bf3764cf1c9bda7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1vec2.html">vec2</a> gbmath::Rect::get_center </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="rect_8h_source.html#l00276">276</a> of file <a class="el" href="rect_8h_source.html">rect.h</a>.</p>

</div>
</div>
<a class="anchor" id="a24eb91009bf4f45297103a25dc57e3fd"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float gbmath::Rect::get_height </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Getting the height of the rectangle. </p>

<p>Definition at line <a class="el" href="rect_8h_source.html#l00177">177</a> of file <a class="el" href="rect_8h_source.html">rect.h</a>.</p>

</div>
</div>
<a class="anchor" id="a76791a7ee5804562474df5d26326599f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1point.html">point</a> gbmath::Rect::get_position_topleft </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get the point coordinate of the upper-left corner of the rectangle. </p>

<p>Definition at line <a class="el" href="rect_8h_source.html#l00233">233</a> of file <a class="el" href="rect_8h_source.html">rect.h</a>.</p>

</div>
</div>
<a class="anchor" id="a7e7c65d6507e65898f2b74027ac37242"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1size2d.html">size2d</a> gbmath::Rect::get_size </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>get rectangle 2d size </p>

<p>Definition at line <a class="el" href="rect_8h_source.html#l00183">183</a> of file <a class="el" href="rect_8h_source.html">rect.h</a>.</p>

</div>
</div>
<a class="anchor" id="af8d6f87a9ba745a232c8ffb92d537e67"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1point.html">point</a> gbmath::Rect::get_topleft </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="rect_8h_source.html#l00263">263</a> of file <a class="el" href="rect_8h_source.html">rect.h</a>.</p>

</div>
</div>
<a class="anchor" id="a7b6c821375b118050869c89086766b19"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float gbmath::Rect::get_width </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Getting the width of the rectangle. </p>

<p>Definition at line <a class="el" href="rect_8h_source.html#l00171">171</a> of file <a class="el" href="rect_8h_source.html">rect.h</a>.</p>

</div>
</div>
<a class="anchor" id="ac5919d4c492020fbd8216a39fa04e112"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool gbmath::Rect::is_zero </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>check of all components to zero </p>

<p>Definition at line <a class="el" href="rect_8h_source.html#l00136">136</a> of file <a class="el" href="rect_8h_source.html">rect.h</a>.</p>

</div>
</div>
<a class="anchor" id="a89b0768bb1e96142c3e8b23ef341a864"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gbmath::Rect::offset </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="rect_8h_source.html#l00423">423</a> of file <a class="el" href="rect_8h_source.html">rect.h</a>.</p>

</div>
</div>
<a class="anchor" id="a9c99fe5047330a0d83495ec7f67e7d89"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">gbmath::Rect::operator <a class="el" href="structgbmath_1_1_rectangle.html">Rectangle</a> </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="rect_8h_source.html#l00120">120</a> of file <a class="el" href="rect_8h_source.html">rect.h</a>.</p>

</div>
</div>
<a class="anchor" id="a44992577907a2fe5cac2b72491a7483b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">gbmath::Rect::operator std::string </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="rect_8h_source.html#l00360">360</a> of file <a class="el" href="rect_8h_source.html">rect.h</a>.</p>

</div>
</div>
<a class="anchor" id="a9641777ad72513f23d6728accfbab236"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gbmath::Rect::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1_rectangle.html">Rectangle</a> &amp;&#160;</td>
          <td class="paramname"><em>rec</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="rect_8h_source.html#l00114">114</a> of file <a class="el" href="rect_8h_source.html">rect.h</a>.</p>

</div>
</div>
<a class="anchor" id="af287e19beb5fccbaa19530e1ab569edb"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gbmath::Rect::operator= </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>str</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="rect_8h_source.html#l00351">351</a> of file <a class="el" href="rect_8h_source.html">rect.h</a>.</p>

</div>
</div>
<a class="anchor" id="abfd689e482e12c9f5192ae38eea8c845"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gbmath::Rect::set </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>_x1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>_y1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>_x2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>_y2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="rect_8h_source.html#l00077">77</a> of file <a class="el" href="rect_8h_source.html">rect.h</a>.</p>

</div>
</div>
<a class="anchor" id="a6a23ccfaabe72a06c47211b06be21abf"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gbmath::Rect::set_center </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;&#160;</td>
          <td class="paramname"><em>pnt</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="rect_8h_source.html#l00287">287</a> of file <a class="el" href="rect_8h_source.html">rect.h</a>.</p>

</div>
</div>
<a class="anchor" id="a1932383e3c13c477e2511b8dfa94431d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gbmath::Rect::set_height </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>fHeight</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="rect_8h_source.html#l00249">249</a> of file <a class="el" href="rect_8h_source.html">rect.h</a>.</p>

</div>
</div>
<a class="anchor" id="a8067959f2246c5eaf5b39913e4aa2415"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gbmath::Rect::set_position_topleft </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Put a new position on the top left corner of the rectangle. Dimensions remain unchanged. </p>

<p>Definition at line <a class="el" href="rect_8h_source.html#l00203">203</a> of file <a class="el" href="rect_8h_source.html">rect.h</a>.</p>

</div>
</div>
<a class="anchor" id="aabe5380ad2d7ae6d8dfcb19a9c1822ac"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gbmath::Rect::set_position_topleft </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;&#160;</td>
          <td class="paramname"><em>v</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="rect_8h_source.html#l00215">215</a> of file <a class="el" href="rect_8h_source.html">rect.h</a>.</p>

</div>
</div>
<a class="anchor" id="a41254ee02af17f49385bab0158c6fa6f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gbmath::Rect::set_width </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>fWidth</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="rect_8h_source.html#l00243">243</a> of file <a class="el" href="rect_8h_source.html">rect.h</a>.</p>

</div>
</div>
<a class="anchor" id="a1f6107ca474aa8bebde80c3f883867e0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gbmath::Rect::set_width_height </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>fWidth</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>fHeight</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="rect_8h_source.html#l00255">255</a> of file <a class="el" href="rect_8h_source.html">rect.h</a>.</p>

</div>
</div>
<a class="anchor" id="aaaa2ed57a76e7caa3b97616f7f797608"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gbmath::Rect::setzero </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>set to zero all </p>

<p>Definition at line <a class="el" href="rect_8h_source.html#l00130">130</a> of file <a class="el" href="rect_8h_source.html">rect.h</a>.</p>

</div>
</div>
<a class="anchor" id="aad0247c5ca850f2c277ad4041daeb672"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gbmath::Rect::translate </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The shift of origin. The motion of the rectangle. </p>

<p>Definition at line <a class="el" href="rect_8h_source.html#l00145">145</a> of file <a class="el" href="rect_8h_source.html">rect.h</a>.</p>

</div>
</div>
<a class="anchor" id="a73e11d9ad6222a69bfb56f774f3cf29a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gbmath::Rect::translate </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;&#160;</td>
          <td class="paramname"><em>val</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The shift of origin. The motion of the rectangle. </p>

<p>Definition at line <a class="el" href="rect_8h_source.html#l00154">154</a> of file <a class="el" href="rect_8h_source.html">rect.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a class="anchor" id="af06df3bb3821aa5f4f7a43a63a0a9d3c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::ostream&amp; operator&lt;&lt; </td>
          <td>(</td>
          <td class="paramtype">std::ostream &amp;&#160;</td>
          <td class="paramname"><em>stream</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classgbmath_1_1_rect.html">Rect</a> &amp;&#160;</td>
          <td class="paramname"><em>r</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="rect_8h_source.html#l00416">416</a> of file <a class="el" href="rect_8h_source.html">rect.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="ad77ebf0b2d9748f14d3aa249a5c24995"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1vec2.html">vec2</a> gbmath::Rect::max</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="rect_8h_source.html#l00024">24</a> of file <a class="el" href="rect_8h_source.html">rect.h</a>.</p>

</div>
</div>
<a class="anchor" id="ad38e91fafd641688846d5c70a923e6d2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1vec2.html">vec2</a> gbmath::Rect::min</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="rect_8h_source.html#l00023">23</a> of file <a class="el" href="rect_8h_source.html">rect.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="rect_8h_source.html">rect.h</a></li>
</ul>
</div><!-- contents -->
<hr class="footer"/>
<!--address class="footer"-->
<!--small-->
<br>
&nbsp;&nbsp;&nbsp;<b>Project page:</b> &nbsp;<a target="_blank" href="https://code.google.com/p/gbmath/">https://code.google.com/p/gbmath/</a>&nbsp;&nbsp;<br>
&nbsp;&nbsp;&nbsp;<b>Doc page:</b> &nbsp;<a target="_blank" href="http://www.it.ks777.ru/docs">http://www.it.ks777.ru/docs</a>&nbsp;&nbsp;<br>
<br>
Generated on Sat Jul 27 2013 08:09:04 for gbmath by &#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.4
